package com.example.houduan.demos.web.mapper;

import com.example.houduan.demos.web.entity.Salary;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SalaryMapper {


    @Select("select * from houduan.salary")
    List<Salary> findAll();

    @Select("select * from houduan.salary where _id = ${id}")
    Salary getByid(String id);
}
